set_xmakever("2.8.5")
includes("@builtin/check")

add_includedirs("include", "3rdparty/arg_parser")

set_languages("c99")
set_languages("c++20")


-- add rules: debug/release
add_rules("mode.debug", "mode.release")

add_requires("yaml-cpp")

target("xgit")
    set_kind("binary")
	add_files("./src/*.cpp")
    set_warnings("all", "error")
    add_packages("yaml-cpp")
		   
		   